package com.service;

import com.pojo.CartItem;

import java.sql.SQLException;
import java.util.List;

public interface CartService {

    void addCart(String goodId,long uid,int num) throws SQLException;
    List<CartItem> findCartByUid(long uid);

    void deleteCart(Long id);
}
